home *** CD-ROM | disk | FTP | other *** search
- Path: cs.uwa.edu.au!jasonb
- From: jasonb@cs.uwa.edu.au (Jason S Birch)
- Newsgroups: comp.sys.amiga.misc
- Subject: Re: MUI 3.2
- Date: 8 Feb 96 15:39:16 GMT
- Organization: The University of Western Australia
- Message-ID: <jasonb.823793956@cs.uwa.edu.au>
- References: <31179053@karkis.canit.se>
- NNTP-Posting-Host: decadence.cs.uwa.oz.au
- X-Newsreader: NN version 6.5.0 #3 (NOV)
-
- bornhall@karkis.canit.se (Peter Bornhall) writes:
- > ...go on, what more? Oh yeah, disappering objects, what's that? I've never
- >heard of it (I think).
-
- Objects can be assigned a priority, so that if MUI is having
- difficulty fitting a window onto a screen it can start leaving out
- objects based on that priority. You would use it, for example, for
- redundant images that you've just included as visual cues but aren't
- really necessary - such as the little pictures of monitors in PSI's
- Edit Screen/Display page. It also reduces font sizes, but I can't
- remember which technique it tries first.
-
- > That IS the question! You stated that I could turn off some fancy settings
- >and it wouldn't grab as much memory etc, etc... So go ahead and tell me, or
- >admit that you can't answer it.
-
- To minimise memory usage, all you can really do is use the internal
- images for all the scrollbars, arrows, checkmarks, cycle gadgets, etc,
- *not* use any fancy backdrops for windows, groups, buttons, etc, not
- use a separate screen, and turn off the ARexx port, etc, as I said in
- an earlier post. That's about it.
-
- > gcs> want to have in MUI. As far as I can see, no code is bloated, so if you
- > gcs> want less memory to be used, you'd have to remove features.
-
- > Fine with me. We can start with the excessive configurability, that should
- >cover a lot of it.
-
- I think the configureability is an overestimated component in terms of
- the size of MUI. Displaying arbitrary backgrounds, for example, only
- needs to be implemented once in one class (Area), all the rest inherit
- it automatically. Just doing a quick check, I count 31 custom classes
- implemented in muimaster.library itself, in addition to the 37 external
- ones. Now, dividing the size of muimaster (156,532 bytes) by 31 classes
- gives an *average* size of 5049 bytes per class, ignoring all the space
- in muimaster taken up by the (I count 22) support functions.
-
- The only real way to make MUI smaller is to start culling classes.
-
- If you really think Stefan doesn't care about code bloat, you should
- see him go on about it when someone suggests adding just one more hook
- (4 bytes) into, say, Areaclass.
-
- > /\ \// Peter Bornhall bornhall@karkis.canit.se
-
- --
- Jason S Birch ,-_|\ email: jasonb@cs.uwa.edu.au
- Department of Computer Science / \ Tel (work): +61 9 380 1840
- The University of Western Australia *_.-._/ Fax (work): +61 9 380 1089
- Nedlands W. Australia 6907 v Tel (home): +61 9 386 8630
-